s=input()
flag=0
s2=""
for i in s:
    if i.isalpha() and i.isupper() and i not in s2:
        flag=1
        print(i,end='')
        s2+=i
if not flag:
    print("Not Found")